import service from '../utils/request'
//1.管理员列表
export function admin_list( payload = {} ){
    return service.get( '/admin/list', { params:payload } )
}
//2.获取管理员信息
export function admin_detail( payload = {} ){
    return service.get( '/admin/detail', { params:payload } )
}
//3.添加管理员
export function admin_add( payload = {} ){
    return service.post( '/admin/add', payload)
}
//4.修改管理员
export function admin_update( payload = {} ){
    return service.post( '/admin/update', payload)
}
//5.删除管理员
export function admin_delete( payload = {} ){
    return service.post( '/admin/delete', payload)
}
//6.管理系统登录
export function admin_login( payload = {} ){
    return service.post( '/admin/login', payload)
}